#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define IN 0
#define OUT 1

const int maxn = 100000;
char source[maxn];
char dest[maxn];
typedef struct{
    int syn;
    char token[120];
    int sum;
}
int cpy(){
    char ch;
    int i;
    memset(source, 0, sizeof(source));
    while((ch = getchar()) != '#'){
        source[i++] = ch;
    }
}

int pre_process(){
    char ch;
    int i, j = 0;
    int len_so = strlen(source);
    for(i = 0; i < len_so; ++i){
       if(source[i] == '/' && source[i+1] == '*'){
           i += 2;
           while(!(source[i] == '*' && source[i++] == '/')){
               i++;
           }
           i++;
       }
       else if(source[i] == '/' && source[i+1] == '/'){
            while(source[i] != '\n') i++;
       }
       else if(source[i] == '\t' || source[i] == '\n'){
            i++;
       }
       else if(source[i] == ' '){
            dest[j++] = source[i];
            i++;
            while(source[i] == ' ') i++;
       }
       else{
            dest[i] = source[i];
       }
    }
}
